package com.jymj.service;

import com.jymj.entity.SysXzqEntity;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/5/16.
 */
public interface SysXzqService {

    SysXzqEntity queryObject(Long xzqId);

    public List<SysXzqEntity> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(SysXzqEntity xzq);

    void update(SysXzqEntity xzq);

    void deleteBatch(Long[] xzqIds);

    List<SysXzqEntity> getUserXzqList(Long userId);

    List<SysXzqEntity> getXzqInfoList(Long userId, String xzqmc, String code);

    List<SysXzqEntity> queryXzqObject(String xzqmc);

    List<SysXzqEntity> queryXzqList(String code, Integer type);

    List<SysXzqEntity> getUserDistrictList(Long userId);

    List<SysXzqEntity> getUserTownList(Long userId);

    List<String> qeryCode(Long userId);
}
